package com.klei.dao;

import com.klei.pojo.CityManager;

import java.util.List;

public interface ICityManagerDao {

    List<CityManager> getAllCity();

    List<CityManager> getAllCountry();

    List<CityManager> getAllCityByPage(int page, int limit);

    List<CityManager> getAllCountryByPage(int page, int limit);

    int getAllCityCount();

    int getAllCountryCount();

    int saveCity(String name);

    int saveCountry(CityManager cityManager);

    int updateCity(CityManager cityManager);

    int deleteCityById(int id);

}
